Skip to content

Support multiple pools#27

Open
alexdremov wants to merge 4 commits intoepfml:mainfrom
alexdremov:patch-4
Open

Support multiple pools#27
alexdremov wants to merge 4 commits intoepfml:mainfrom
alexdremov:patch-4

Conversation

@alexdremov
Copy link
Contributor

This is useful if you are okay to be scheduled to either of the specified pools

Copilot AI review requested due to automatic review settings March 6, 2026 14:45
Updated help text for --node-type argument to clarify that multiple values are accepted and scheduling will occur based on the first fitting pool.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies the --node-type argument in csub.py to accept multiple GPU node pool names instead of just one. This allows users to specify multiple acceptable pools (e.g., --node-type h100 h200), which are joined with commas and passed to the run:ai CLI's --node-pools flag. The preemptibility check is also updated to trigger if any of the specified pools are H100/H200.

Changes:

  • Changed --node-type from a single-choice argument to nargs="*" to accept multiple pool names
  • Updated the --node-pools value construction to comma-join the list of pools
  • Updated the preemptibility check to use any() over the list of pools

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

alexdremov and others added 2 commits March 6, 2026 15:49
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants